import request from '@/utils/request'
// 获取全部数据
export function getChapterList () {
  return request({
    url: '/chapterList'
  })
}
// 跟据id获取章节
export function getChapterListById (id) {
  return request({
    url: `/chapterList?id=${id}`
  })
}
// 获取真题
export function getCompanyTruth () {
  return request({
    url: '/companyTruth'
  })
}
